import 'bootstrap/dist/css/bootstrap.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import piniaPluginPersistedstate from 'pinia-plugin-persistedstate' //引用pinia持久
const pinia = createPinia()//创建pinia对象
pinia.use(piniaPluginPersistedstate) //pinia对象使用持久化

import App from './App.vue'
import router from './router'

const app = createApp(App)

app.use(pinia)  //使用指定持久化的pinia对象
app.use(router)

app.mount('#app')
